package cn.com.server.config.bean;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component    
@ConfigurationProperties(prefix="app-resources") //接收application.yml中的myProps下面的属性 
public class AppResources {
	
	List<Map<String,String>> resourceHandlerMap = new ArrayList<>();

	public List<Map<String, String>> getResourceHandlerMap() {
		return resourceHandlerMap;
	}

	public void setResourceHandlerMap(List<Map<String, String>> resourceHandlerMap) {
		this.resourceHandlerMap = resourceHandlerMap;
	}
	
}
